﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000E5B RID: 3675
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueArcadeStartScRsp : IMessage<RogueArcadeStartScRsp>, IMessage, IEquatable<RogueArcadeStartScRsp>, IDeepCloneable<RogueArcadeStartScRsp>, IBufferMessage
	{
		// Token: 0x17002EB7 RID: 11959
		// (get) Token: 0x0600A50B RID: 42251 RVA: 0x001BCB93 File Offset: 0x001BAD93
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueArcadeStartScRsp> Parser
		{
			get
			{
				return RogueArcadeStartScRsp._parser;
			}
		}

		// Token: 0x17002EB8 RID: 11960
		// (get) Token: 0x0600A50C RID: 42252 RVA: 0x001BCB9A File Offset: 0x001BAD9A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueArcadeStartScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002EB9 RID: 11961
		// (get) Token: 0x0600A50D RID: 42253 RVA: 0x001BCBAC File Offset: 0x001BADAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueArcadeStartScRsp.Descriptor;
			}
		}

		// Token: 0x0600A50E RID: 42254 RVA: 0x001BCBB3 File Offset: 0x001BADB3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueArcadeStartScRsp()
		{
		}

		// Token: 0x0600A50F RID: 42255 RVA: 0x001BCBBC File Offset: 0x001BADBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueArcadeStartScRsp(RogueArcadeStartScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.rogueTournCurSceneInfo_ = ((other.rogueTournCurSceneInfo_ != null) ? other.rogueTournCurSceneInfo_.Clone() : null);
			this.roomId_ = other.roomId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600A510 RID: 42256 RVA: 0x001BCC14 File Offset: 0x001BAE14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueArcadeStartScRsp Clone()
		{
			return new RogueArcadeStartScRsp(this);
		}

		// Token: 0x17002EBA RID: 11962
		// (get) Token: 0x0600A511 RID: 42257 RVA: 0x001BCC1C File Offset: 0x001BAE1C
		// (set) Token: 0x0600A512 RID: 42258 RVA: 0x001BCC24 File Offset: 0x001BAE24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17002EBB RID: 11963
		// (get) Token: 0x0600A513 RID: 42259 RVA: 0x001BCC2D File Offset: 0x001BAE2D
		// (set) Token: 0x0600A514 RID: 42260 RVA: 0x001BCC35 File Offset: 0x001BAE35
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ABFBLEKMNME RogueTournCurSceneInfo
		{
			get
			{
				return this.rogueTournCurSceneInfo_;
			}
			set
			{
				this.rogueTournCurSceneInfo_ = value;
			}
		}

		// Token: 0x17002EBC RID: 11964
		// (get) Token: 0x0600A515 RID: 42261 RVA: 0x001BCC3E File Offset: 0x001BAE3E
		// (set) Token: 0x0600A516 RID: 42262 RVA: 0x001BCC46 File Offset: 0x001BAE46
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint RoomId
		{
			get
			{
				return this.roomId_;
			}
			set
			{
				this.roomId_ = value;
			}
		}

		// Token: 0x0600A517 RID: 42263 RVA: 0x001BCC4F File Offset: 0x001BAE4F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueArcadeStartScRsp);
		}

		// Token: 0x0600A518 RID: 42264 RVA: 0x001BCC60 File Offset: 0x001BAE60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueArcadeStartScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.RogueTournCurSceneInfo, other.RogueTournCurSceneInfo) && this.RoomId == other.RoomId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600A519 RID: 42265 RVA: 0x001BCCC0 File Offset: 0x001BAEC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.rogueTournCurSceneInfo_ != null)
			{
				num ^= this.RogueTournCurSceneInfo.GetHashCode();
			}
			if (this.RoomId != 0U)
			{
				num ^= this.RoomId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600A51A RID: 42266 RVA: 0x001BCD2E File Offset: 0x001BAF2E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600A51B RID: 42267 RVA: 0x001BCD36 File Offset: 0x001BAF36
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600A51C RID: 42268 RVA: 0x001BCD40 File Offset: 0x001BAF40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.rogueTournCurSceneInfo_ != null)
			{
				output.WriteRawTag(18);
				output.WriteMessage(this.RogueTournCurSceneInfo);
			}
			if (this.RoomId != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.RoomId);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600A51D RID: 42269 RVA: 0x001BCDB8 File Offset: 0x001BAFB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.rogueTournCurSceneInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueTournCurSceneInfo);
			}
			if (this.RoomId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.RoomId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600A51E RID: 42270 RVA: 0x001BCE28 File Offset: 0x001BB028
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueArcadeStartScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.rogueTournCurSceneInfo_ != null)
			{
				if (this.rogueTournCurSceneInfo_ == null)
				{
					this.RogueTournCurSceneInfo = new ABFBLEKMNME();
				}
				this.RogueTournCurSceneInfo.MergeFrom(other.RogueTournCurSceneInfo);
			}
			if (other.RoomId != 0U)
			{
				this.RoomId = other.RoomId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600A51F RID: 42271 RVA: 0x001BCEA4 File Offset: 0x001BB0A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600A520 RID: 42272 RVA: 0x001BCEB0 File Offset: 0x001BB0B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 18U)
				{
					if (num != 40U)
					{
						if (num != 72U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.Retcode = input.ReadUInt32();
						}
					}
					else
					{
						this.RoomId = input.ReadUInt32();
					}
				}
				else
				{
					if (this.rogueTournCurSceneInfo_ == null)
					{
						this.RogueTournCurSceneInfo = new ABFBLEKMNME();
					}
					input.ReadMessage(this.RogueTournCurSceneInfo);
				}
			}
		}

		// Token: 0x04004320 RID: 17184
		private static readonly MessageParser<RogueArcadeStartScRsp> _parser = new MessageParser<RogueArcadeStartScRsp>(() => new RogueArcadeStartScRsp());

		// Token: 0x04004321 RID: 17185
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004322 RID: 17186
		public const int RetcodeFieldNumber = 9;

		// Token: 0x04004323 RID: 17187
		private uint retcode_;

		// Token: 0x04004324 RID: 17188
		public const int RogueTournCurSceneInfoFieldNumber = 2;

		// Token: 0x04004325 RID: 17189
		private ABFBLEKMNME rogueTournCurSceneInfo_;

		// Token: 0x04004326 RID: 17190
		public const int RoomIdFieldNumber = 5;

		// Token: 0x04004327 RID: 17191
		private uint roomId_;
	}
}
